<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<title>Js.widget.dialog</title>
		<script type="text/javascript" src="../../lib/jquery/jquery.min.js"></script>
		<script type="text/javascript" src="../../lib/savvyui.js"></script>
		<script type="text/javascript" src="../unit-testing.js"></script>
		<link type="text/css" href="../../css/all.css" rel="stylesheet" media="all" />
	</head>
	<body>
		<h1>Js.widget.dialog</h1>
		<div id="result">
			<pre>
				var panel = new Js.widget.dialog({
					element: "controller",
					renderTo: "#panel-container",
					title: "Hello world",
					width: 400,
					height: 350,
					content: "&lt;p&gt;Some content&lt;/p&gt;&lt;p&gt;Some other content&lt;/p&gt;&lt;pre&gt;some.code.here&lt;/pre&gt;",
					allowMinimize: true
				});
			</pre>
		</div>
		<div id="panel-container">
			
		</div>
		<script type="text/javascript">
		<!--
		Js.setup.widget.panel({
			allowClose: true
		});
		var panel = new Js.widget.dialog({
			element: "controller",
			renderTo: "#panel-container",
			title: "Hello world",
			width: 560,
			height: 300,
			content: "<p>Some content</p><p>Some other content</p><pre>some.code.here</pre>"
		});
		-->
		</script>
	</body>
</html>
